package org.linlinjava.litemall.admin.vo.full_gift;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;

/**
 * @author wj
 * @date 2021/8/30 15:41
 */
public class GiftListVo {

    private Integer state;

    @NotNull(message = "页码不能为空")
    @DecimalMin(value = "1",message = "页码不能小于1")
    private Integer page;

    @NotNull(message = "每页条数不能为空")
    @DecimalMin(value = "0",message = "每页条数不能小于0")
    private Integer limit;

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }
}
